@extends('template.adminpage')
@section('content')
 
<ol class="breadcrumb">
  <li class="active">Profil</li>
</ol>

<div class="container-black">
    <br>
    {{Form::open(array(
            'url' => '/admin/editprofil/'.$profil->id,
            'method' => 'POST'
          ))}}
      <div class="row" style="margin-top:10px">
      <div class="col-md-10 col-md-offset-1">

           <div class="row">
                                  <div class="col-lg-5">
                                  <label>Nama admin <font color="red">*</font></label>
                                  </div>
                                  <div class="col-lg-5">
                                    <input type="text" placeholder="Masukan nama admin" name="admin_name" class="form-control" style="width:200px;height:30px" value="{{$profil->admin_name}}" required /></input>
                                  </div>
                                  </div>
                                  <br>

                                  <div class="row">
                                  <div class="col-lg-5">
                                  <label>Username<font color="red"></font></label>
                                  </div>
                                  <div class="col-lg-5">
                                    <input type="text" placeholder="Masukan username" name="username" class="form-control" style="width:200px;height:30px" value="{{$profil->username}}" disabled  /></input>
                                  </div>
                                  </div>
                                  <br>

                                  <div class="row">
                                  <div class="col-lg-5">
                                  <label>Password<font color="red">**</font></label>
                                  </div>
                                  <div class="col-lg-5">
                                    <input type="password" placeholder="Masukan password" name="password" class="form-control" style="width:200px;height:30px"/></input>
                                  </div>
                                  </div>
                                  <br>

                                  <div class="row">
                                  <div class="col-lg-5">
                                  <label>Ulangi password<font color="red">**</font></label>
                                  </div>
                                  <div class="col-lg-5">
                                    <input type="password" placeholder="Masukan password lagi" name="password_confirmation" class="form-control" style="width:200px;height:30px" /></input>
                                  </div>
                                  </div>
                                  <br>

                                  <div class="row">
                                  <div class="col-lg-6 col-lg-offset-5">
                                 <font color="red">* Data tidak boleh kosong</font><br>
                                 <font color="red">** Kosongkan jika tidak diganti</font><br>
                                  </div>
                                  </div>

          <br>
      
          <div class="row">
          <div class="col-lg-6 col-lg-offset-5">
            <button type="submit" class="btn btn-sm btn-dark"><span class="fa fa-floppy-o"></span> Simpan</button>{{Form::close()}}
          </div>
          </div>

      </div> 
      </div> 
      <br>
<br>
</div>


@stop
@stop 